package com.springboot.seckill.enums;

/**
 * @Author: HuangDekai
 * @Date: 2022/3/26 22:54
 * @Version: 1.0
 * @since: jdk11
 */
public enum EmPromoConstants {

    SECKILL_STATUS_NOTHING(0, "没有秒杀活动"),
    SECKILL_STATUS_START(1, "活动未开始"),
    SECKILL_STATUS_UNDERWAY(2, "活动正在进行"),
    SECKILL_STATUS_END(3, "活动已结束"),
    ;

    private Integer value;
    private String description;

    private EmPromoConstants(Integer value, String description) {
        this.value = value;
        this.description = description;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
